{{#* inline 'formImport' item}}
{{#if (eq item.detailType "FORMITEM")}}
  {{#if item.psSysPFPlugin}}
import {{pascalCase item.psSysPFPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase item.psSysPFPlugin.pluginCode}}/{{spinalCase item.psSysPFPlugin.pluginCode}}.vue";
  {{/if}}
{{else if item.psDEFormDetails}}
  {{#each item.psDEFormDetails as | formDetail | }}
{{> formImport item=formDetail}}
  {{/each}}
{{/if}}
{{/inline}}
{{#* inline 'toolbarImport' item}}
{{#eq item.itemType 'ITEMS'}}
  {{#each item.psDEToolbarItems as | children |}}
{{> toolbarImport item=children}}
  {{/each}}
{{else}}
  {{#if item.psSysPFPlugin}}
import {{pascalCase item.psSysPFPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase item.psSysPFPlugin.pluginCode}}/{{spinalCase item.psSysPFPlugin.pluginCode}}.vue";
  {{/if}}
{{/eq}}
{{/inline}}
{{#* inline 'panelImport' item}}
{{#if item.psPanelItems}}
  {{#each item.psPanelItems as | panelItem |}}
{{> panelImport item=panelItem}}
  {{/each}}
{{else}}
  {{#if item.psSysPFPlugin}}
import {{pascalCase item.psSysPFPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase item.psSysPFPlugin.pluginCode}}/{{spinalCase item.psSysPFPlugin.pluginCode}}.vue";
  {{/if}}
{{/if}}
{{/inline}}
{{#if (eq ctrl.controlType "FORM")}}
  {{#each ctrl.psDEFormPages as | ctrlPage | }}
    {{#each ctrlPage.psDEFormDetails as | formDetail | }}
{{> formImport item=formDetail}}
    {{/each}}
  {{/each}}
{{else if (eq ctrl.controlType "GRID")}}
  {{#each ctrl.psDEGridColumns as | column | }}
    {{#if column.psSysPFPlugin}}
import {{pascalCase column.psSysPFPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase column.psSysPFPlugin.pluginCode}}/{{spinalCase column.psSysPFPlugin.pluginCode}}.vue";
    {{/if}}
  {{/each}}
{{else if (eq ctrl.controlType "TOOLBAR")}}
  {{#each ctrl.psDEToolbarItems as | item |}}
{{> toolbarImport item=item}}
  {{/each}}
{{else if panel}}
  {{#if panel.rootPSPanelItems}}
    {{#each panel.rootPSPanelItems as | panelItem |}}
{{> panelImport item=panelItem}}
    {{/each}}
  {{/if}}
{{else}}
import {{pascalCase appPlugin.pluginCode}} from "@plugins/ctrl-item/{{spinalCase appPlugin.pluginCode}}/{{spinalCase appPlugin.pluginCode}}.vue";
{{/if}}